package cn.jtfadmin.base.shiro;

import cn.jtfadmin.base.lang.config.module.DefaultModuleInfoDTO;
import cn.jtfadmin.base.lang.config.module.ModuleInfo;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;


/**
 * 自动配置类
 */
@Configuration
@ComponentScan(basePackages = "cn.jtfadmin.base.shiro")
public class BaseShiroAutoConfiguration {

    @Bean
    public ModuleInfo baseShiroModuleInfo(){
        return new DefaultModuleInfoDTO("baseShiro", "权限模块", "权限模块，权限校验 ",
                "cn.jtfadmin.base.shiro");
    }




}
